home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Mania 4
/
MacMania 4.toast
/
/
Sound
/
SoundEffects 0.9.2
/
SoundEffects Developer’s Kit
/
Interfaces
/
ModStringConversion.c
< prev
next >
Wrap
Text File
|
1994-11-10
|
233b
|
14 lines
void UnsNumToString(unsigned long num, StringPtr str)
{
unsigned long temp;
if ((signed long)num < 0L)
{
temp = num/10;
NumToString(temp, str);
str[0] += 1;
str[str[0]] = '0' + num%10;
}
else
NumToString(num, str);
}